package com.platform.web.mapper;


import com.platform.web.model.Role;
import com.platform.web.model.RoleUser;

import java.util.List;

/**
 * 角色关联用户Mapper类
 * 
 * @author LiangMingHui
 *
 */
public interface RoleUserMapper {

	int insert(RoleUser record);

	int insertSelective(RoleUser record);

	int insertBatchUserRole(List<RoleUser> list);

	int deleteRoleByUser(String userId);

	List<Role> getUserRoleList(String userId);

	int getRoleUserCountByRole(List<String> ids);

}